﻿namespace Yom.WebService.Admin
{
    using System.Text;
    using System.Web;

    public class AdminMenu : AdminBase
    {
        public void OutWrite()
        {
            StringBuilder builder = new StringBuilder();
            builder.Append("<div id=\"Menu\" style=\"disply:block\" class=\"menuBody\"><ul class=\"menuUL\">");
            builder.Append("<li><a href=\"javascript:$.Run(1)\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon1\" />后台首页</a></li>");
            builder.Append("<li><a href=\"javascript:$.Run(2)\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon2\"/>系统设置</a></li>");
            builder.Append("<li><a href=\"javascript:$.Run(3)\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon3\"/>公告管理</a></li>");
            builder.Append("<li><a href=\"javascript:$.Run(4)\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon4\"/>分类管理</a></li>");
            builder.Append("<li><a href=\"javascript:$.Run(5)\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon5\"/>漫画管理</a></li>");
            builder.Append("<li><a href=\"javascript:$.Run(10)\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon9\"/>友情链接</a></li>");
            builder.Append("<li><a href=\"javascript:$.Logout()\" class=\"menuA\"><img src=\"Images/Admin/Icon/b.gif\" alt=\"\" border=\"0\" class=\"MenuIcon icon10\"/>退出系统</a></li>");
            builder.Append("</ul></div>");
            base.Response.Write(builder.ToString());
        }
    }
}